//
//  EMSCharactersWindowController.h
//  EVE Mac Suite
//
//  Created by Vadim Lozko on 2/5/09.
//  Copyright 2009 __Vadim__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "EMSGeneralUtils.h"

@interface EMSCharactersWindowController : NSWindowController {
	IBOutlet NSWindow* characterSearchWindow;
	IBOutlet NSTextField* userIDField;
	IBOutlet NSTextField* apiKeyField;
	IBOutlet NSTableView* charactersTableView;
	IBOutlet NSProgressIndicator* progressIndicator;
	IBOutlet NSButton* selectButton;
	NSString* progressText;
	NSMutableArray* characters;
	NSString* userIDString;
	NSString* apiKeyString;
	id delegate;
}

@property (assign) id <EMSCharactersWindowControllerDelegate> delegate;
@property (retain) NSString* progressText;
@property (retain) NSMutableArray* characters;

+(EMSCharactersWindowController*)controller;
-(IBAction)searchForCharacters:(id)sender;
-(IBAction)selectCharacter:(id)sender;
-(IBAction)cancel:(id)sender;

@end
